﻿import Vue from "vue";
import Router from "vue-router";
Vue.use(Router)

import myinfo from "./page/myinfo.vue";
import home from "./page/home.vue";
import video from "./page/video.vue";
import sign from "./page/sign.vue";
import message from "./page/message.vue";
import login from "./page/login.vue";
import index from "./page/index.vue";
import App from "./App.vue";
import foodlist from "./page/foodlist.vue";
import news from "./page/news.vue";
import leaveadd from "./page/leaveadd.vue";
import work from "./page/work.vue";
import setting from "./page/setting.vue";
import choose from "./page/choose.vue";
import foodpage from "./page/foodpage.vue";
import newspage from "./page/newspage.vue";
import signlist from "./page/signlist.vue";
import studentbind from "./page/studentbind.vue";
import teacherbind from "./page/teacherbind.vue";
import videopage from "./page/videopage.vue";
import workpage from "./page/workpage.vue";
import workreutrn from "./page/workreutrn.vue";
import workfankui from "./page/workfankui.vue"


import mysignlist from "./page/mysignlist.vue";
import studentinfo from "./page/studentinfo.vue";
import teacherinfo from "./page/teacherinfo.vue";


import foodadd from "./page/foodadd.vue";
import msgpage from "./page/msgpage.vue";
import leavelist from "./page/leavelist.vue";
import workadd from "./page/workadd.vue";
import leavesh from "./page/leavesh.vue";
import studentlist from "./page/studentlist.vue";
import about from "./page/about.vue";
import signtj from "./page/signtj.vue";
//import help from "./page/help.vue";
import feedback from "./page/feedback.vue";


export default new Router({
    routes: [

        {
            name: "App",
            path: "/App",
            component: App,
           
        },
        {
            name: "index",
            path: "/index",
            component: index
        },
        {
            name: "login",
            path: "/login",
            component: login
        },
        {
            name: "home",
            path: "/home",
            component: home
        },
        {
            name: "video",
            path: "/video",
            component: video
        },
        {
            name: "sign",
            path: "/sign",
            component: sign
        },
        {
            name: "message",
            path: "/message",
            component: message
        },
        {
            name: "myinfo",
            path: "/myinfo",
            component: myinfo
        },
        {
            name: "foodlist",
            path: "/foodlist",
            component: foodlist
        },
        {
            name: "news",
            path: "/news",
            component: news
        },
        {
            name: "leaveadd",
            path: "/leaveadd",
            component: leaveadd
        },
        {
            name: "work",
            path: "/work",
            component: work
        },
        {
            name: "setting",
            path: "/setting",
            component: setting
        },
        {
            name: "choose",
            path: "/choose",
            component: choose
        },
        {
            name: "foodpage",
            path: "/foodpage",
            component: foodpage
        },
        {
            name: "newspage",
            path: "/newspage",
            component: newspage
        },
        {
            name: "signlist",
            path: "/signlist",
            component: signlist
        },
        {
            name: "studentbind",
            path: "/studentbind",
            component: studentbind
        },
        {
            name: "teacherbind",
            path: "/teacherbind",
            component: teacherbind
        },
        {
            name: "videopage",
            path: "/videopage",
            component: videopage
        },
        {
            name: "workpage",
            path: "/workpage",
            component: workpage
        },
        {
            name: "workreutrn",
            path: "/workreutrn",
            component: workreutrn
        },
        {
            name: "mysignlist",
            path: "/mysignlist",
            component: mysignlist
        },
        {
            name: "studentinfo",
            path: "/studentinfo",
            component: studentinfo
        },
        {
            name: "workfankui",
            path: "/workfankui",
            component: workfankui
        },
        {
            name: "foodadd",
            path: "/foodadd",
            component: foodadd
        },
        {
            name: "msgpage",
            path: "/msgpage",
            component: msgpage
        },
        {
            name: "leavelist",
            path: "/leavelist",
            component: leavelist
        },
        {
            name: "workadd",
            path: "/workadd",
            component: workadd
        },
        {
            name: "workadd",
            path: "/workadd",
            component: workadd
        },
        {
            name: "leavesh",
            path: "/leavesh",
            component: leavesh
        },
        {
            name: "studentlist",
            path: "/studentlist",
            component: studentlist
        },
        {
            name: "about",
            path: "/about",
            component: about
        },
        {
            name: "teacherinfo",
            path: "/teacherinfo",
            component: teacherinfo
        },
        {
            name: "signtj",
            path: "/signtj",
            component: signtj
        },
        //{
        //    name: "help",
        //    path: "/help",
        //    component: help
        //},
        {
            name: "feedback",
            path: "/feedback",
            component: feedback
        },


     
        
        

        

    ]
})